<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>服务中心</title>
    <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/index.css">
    <script src="/jquery.min.js"></script>
    <script src="/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>



<table class="table table-bordered">

    <table class="table table-bordered">
        <tr>
            <th>类型</th>
            <th>变动金额</th>
            <th>初始余额</th>
            <th>变动后余额</th>
            <th>描述</th>
            <th>创建时间</th>
        </tr>
        @if(!empty($data['list']))
            @foreach($data['list'] as $item)
                <tr>

                    <td>{{ $item['flag'] == '-1'? '出账':'进账' }}</td>
                    <td>{{ $item['balance_affect'] }}</td>
                    <td>{{ $item['balance_initial'] }}</td>
                    <td>{{ $item['balance_change'] }}</td>
                    <td>{{ $item['desc'] }}</td>
                    <td>{{ $item['created_at'] }}</td>
                <tr>
            @endforeach
            </tr>
        @endif
    </table>

</body>
</html>
































